package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.pojo.result.Pages;
import com.ruoyi.dynamic.model.pojo.entity.RoomProgram;
import com.ruoyi.dynamic.model.pojo.request.app.*;
import com.ruoyi.dynamic.model.pojo.result.app.AppRoomProgramInfoResult;

import java.util.List;

/**
 * <p>
 * 房间节目单 服务类
 * </p>
 *
 * @author ${author}
 * @since 2024-12-03
 */
public interface IRoomProgramService extends IService<RoomProgram> {


    /**
     * 节目单列表
     */
    Pages<AppRoomProgramInfoResult> programList(AppRoomSingSearchRequest pageSearchParam, Long userId);

    /**
     * 添加编辑节目单
     */
    boolean addOrEdit(AppRoomProgarmAddOrEditRequest request);

    /**
     * 删除节目单
     */
    boolean removeProgram(AppRoomSingDelRequest request, Long userId);

    /**
     * 开启节目单
     */
    boolean startProgram(AppRoomWishCloseRequest request, Long userId);

    /**
     * 想看
     */
    boolean wantLook(AppRoomSingDelRequest request, Long userId);


    RoomProgram verify(Long id);

    /**
     * 关闭节目单
     */
    boolean stopProgram(AppRoomWishCloseRequest request, Long userId);
}
